package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.TreeEntity;

/**
 * 行政区划信息对象 tbl_xzqh
 * 
 * @author zbb
 * @date 2023-02-13
 */
public class Xzqh extends TreeEntity
{
    private static final long serialVersionUID = 1L;

    /** 行政区划ID */
    private Long xzqhId;

    /** 行政区划代码 */
    @Excel(name = "行政区划代码")
    private String xzqhCode;

    /** 行政区划名称 */
    @Excel(name = "行政区划名称")
    private String xzqhName;

    /** 父级行政区划代码 */
    @Excel(name = "父级行政区划代码")
    private String faXzqhCode;

    public void setXzqhId(Long xzqhId) 
    {
        this.xzqhId = xzqhId;
    }

    public Long getXzqhId() 
    {
        return xzqhId;
    }
    public void setXzqhCode(String xzqhCode) 
    {
        this.xzqhCode = xzqhCode;
    }

    public String getXzqhCode() 
    {
        return xzqhCode;
    }
    public void setXzqhName(String xzqhName) 
    {
        this.xzqhName = xzqhName;
    }

    public String getXzqhName() 
    {
        return xzqhName;
    }
    public void setFaXzqhCode(String faXzqhCode) 
    {
        this.faXzqhCode = faXzqhCode;
    }

    public String getFaXzqhCode() 
    {
        return faXzqhCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("xzqhId", getXzqhId())
            .append("xzqhCode", getXzqhCode())
            .append("xzqhName", getXzqhName())
            .append("faXzqhCode", getFaXzqhCode())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
